package com.mugcode.hosp.repository;

import com.mugcode.entity.model.hosp.Department;
import com.mugcode.entity.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * projectName: appointment
 * <p>
 * author: Mu
 * time: 2023/5/28 13:35
 * description:
 */
public interface DepartmentRepository extends MongoRepository<Department, String>  {
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);

}
